# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include emiconfig::t1::argus
class emiconfig::t1::argus {
  class {'fetchcrl':
    manage_carepo => false
  }
  class {'argus_server':
  argus_host_dn          => '/C=CN/O=HEP/O=IHEP/OU=CC/CN=argus01.ihep.ac.cn',
  admin_password         => 'lcg123',
  argus_host             => 'argus01.ihep.ac.cn',
  packages               => ['java-1.8.0-openjdk', 'argus-authz', 'bdii', 'glite-info-provider-service'],
  pap_poll_interval      => 3600,
  pdp_retention_interval => 240,
  pap_policy             => {
                             permit => [
                               'pfqan = "/lhcb/Role=lcgadmin/Capability=NULL"',
                               'pfqan = "/lhcb/Role=lcgadmin"',
                               'pfqan = "/lhcb/Role=production/Capability=NULL"',
                               'pfqan = "/lhcb/Role=production"',
                               'pfqan = "/lhcb/Role=pilot/Capability=NULL"',
                               'pfqan = "/lhcb/Role=pilot"',
                               'pfqan = "/lhcb/Role=NULL/Capability=NULL"',
                               'pfqan = "/lhcb"',
                               'vo = "lhcb"',
                               'vo = "ops"',
                               'vo = "dteam"',
                            ]
                            },
  centralban_enabled     => true,
  centralban_host        => 'lcg-argus.cern.ch',
  centralban_dn          => '/DC=ch/DC=cern/OU=computers/CN=argus.cern.ch',
  servicecert            => '/etc/grid-security/hostcert.pem',
  servicekey             => '/etc/grid-security/hostkey.pem',
  }
}
